package com.luomu.base.api.cookBook.excel.bo;


import com.luomu.base.api.bo.RspBaseBO;

import java.util.Date;

public class FileInfoBakRspBO extends RspBaseBO {

    private static final long serialVersionUID = -9197256753556467847L;
    private Long id;
        private String uploadId;
        private Integer fileCategory;
        private Integer fileType;
        private Long fileSize;
        private String fileName;
        private String filePath;
        private String downloadUrl;
        private String ossUrl;
        private String deleteUrl;
        private Integer isSecret;
        private String downloadPermission;
        private Integer fileStatus;
        private Integer fileClass;
        private Integer fileCenter;
        private Long orgId;
        private String orgTitle;
        private String orgAlias;
        private Integer createYear;
        private Integer createMonth;
        private Integer createDay;
        private String createWeek;
        private Integer isDelete;
        private Long createUserId;
        private Date createTime;
        private String createAgentId;
        private Long updateUserId;
        private Date updateTime;
        private String updateAgentId;


    public String getUploadId() {
        if (null == uploadId || "".equals(uploadId)){
            return null;
        }
        return uploadId;
    }

    public void setUploadId(Long uploadId) {
        if(uploadId == null){
            this.uploadId = null;
        }else if(uploadId.toString().matches("^[0-9]*$")){
            this.uploadId = uploadId.toString();
        } else {
            this.uploadId = uploadId.toString();
        }
    }

    public void setUploadId(String uploadId) {
        if(uploadId == null || "".equals(uploadId.trim()) || uploadId.matches("^[0-9]*$")){
            this.uploadId = uploadId;
        } else {
            this.uploadId = uploadId;
        }
    }

//    public FileInfoRspBO() {
//    }


    public FileInfoBakRspBO() {
    }

    public Long getId() {
        return this.id;
    }

        public void setId(Long id) {
        this.id = id;
    }

//        public Long getUploadId() {
//        return this.uploadId;
//    }
//
//        public void setUploadId(Long uploadId) {
//        this.uploadId = uploadId;
//    }

        public Integer getFileCategory() {
        return this.fileCategory;
    }

        public void setFileCategory(Integer fileCategory) {
        this.fileCategory = fileCategory;
    }

        public Integer getFileType() {
        return this.fileType;
    }

        public void setFileType(Integer fileType) {
        this.fileType = fileType;
    }

        public Long getFileSize() {
        return this.fileSize;
    }

        public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

        public String getFileName() {
        return this.fileName;
    }

        public void setFileName(String fileName) {
        this.fileName = fileName == null ? null : fileName.trim();
    }

        public String getFilePath() {
        return this.filePath;
    }

        public void setFilePath(String filePath) {
        this.filePath = filePath == null ? null : filePath.trim();
    }

        public String getDownloadUrl() {
        return this.downloadUrl;
    }

        public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl == null ? null : downloadUrl.trim();
    }

        public String getOssUrl() {
        return this.ossUrl;
    }

        public void setOssUrl(String ossUrl) {
        this.ossUrl = ossUrl == null ? null : ossUrl.trim();
    }

        public String getDeleteUrl() {
        return this.deleteUrl;
    }

        public void setDeleteUrl(String deleteUrl) {
        this.deleteUrl = deleteUrl == null ? null : deleteUrl.trim();
    }

        public Integer getIsSecret() {
        return this.isSecret;
    }

        public void setIsSecret(Integer isSecret) {
        this.isSecret = isSecret;
    }

        public String getDownloadPermission() {
        return this.downloadPermission;
    }

        public void setDownloadPermission(String downloadPermission) {
        this.downloadPermission = downloadPermission == null ? null : downloadPermission.trim();
    }

        public Integer getFileStatus() {
        return this.fileStatus;
    }

        public void setFileStatus(Integer fileStatus) {
        this.fileStatus = fileStatus;
    }

        public Integer getFileClass() {
        return this.fileClass;
    }

        public void setFileClass(Integer fileClass) {
        this.fileClass = fileClass;
    }

        public Integer getFileCenter() {
        return this.fileCenter;
    }

        public void setFileCenter(Integer fileCenter) {
        this.fileCenter = fileCenter;
    }

        public Long getOrgId() {
        return this.orgId;
    }

        public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

        public String getOrgTitle() {
        return this.orgTitle;
    }

        public void setOrgTitle(String orgTitle) {
        this.orgTitle = orgTitle == null ? null : orgTitle.trim();
    }

        public String getOrgAlias() {
        return this.orgAlias;
    }

        public void setOrgAlias(String orgAlias) {
        this.orgAlias = orgAlias == null ? null : orgAlias.trim();
    }

        public Integer getCreateYear() {
        return this.createYear;
    }

        public void setCreateYear(Integer createYear) {
        this.createYear = createYear;
    }

        public Integer getCreateMonth() {
        return this.createMonth;
    }

        public void setCreateMonth(Integer createMonth) {
        this.createMonth = createMonth;
    }

        public Integer getCreateDay() {
        return this.createDay;
    }

        public void setCreateDay(Integer createDay) {
        this.createDay = createDay;
    }

        public String getCreateWeek() {
        return this.createWeek;
    }

        public void setCreateWeek(String createWeek) {
        this.createWeek = createWeek == null ? null : createWeek.trim();
    }

        public Integer getIsDelete() {
        return this.isDelete;
    }

        public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

        public Long getCreateUserId() {
        return this.createUserId;
    }

        public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

        public Date getCreateTime() {
        return this.createTime;
    }

        public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

        public String getCreateAgentId() {
        return this.createAgentId;
    }

        public void setCreateAgentId(String createAgentId) {
        this.createAgentId = createAgentId == null ? null : createAgentId.trim();
    }

        public Long getUpdateUserId() {
        return this.updateUserId;
    }

        public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

        public Date getUpdateTime() {
        return this.updateTime;
    }

        public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

        public String getUpdateAgentId() {
        return this.updateAgentId;
    }

        public void setUpdateAgentId(String updateAgentId) {
        this.updateAgentId = updateAgentId == null ? null : updateAgentId.trim();
    }

        public String toString() {
        return "FileInfoRspBO [id=" + this.id + ", uploadId=" + this.uploadId + ", fileCategory=" + this.fileCategory + ", fileType=" + this.fileType + ", fileSize=" + this.fileSize + ", fileName=" + this.fileName + ", filePath=" + this.filePath + ", downloadUrl=" + this.downloadUrl + ", ossUrl=" + this.ossUrl + ", deleteUrl=" + this.deleteUrl + ", isSecret=" + this.isSecret + ", downloadPermission=" + this.downloadPermission + ", fileStatus=" + this.fileStatus + ", fileClass=" + this.fileClass + ", fileCenter=" + this.fileCenter + ", orgId=" + this.orgId + ", orgTitle=" + this.orgTitle + ", orgAlias=" + this.orgAlias + ", createYear=" + this.createYear + ", createMonth=" + this.createMonth + ", createDay=" + this.createDay + ", createWeek=" + this.createWeek + ", isDelete=" + this.isDelete + ", createUserId=" + this.createUserId + ", createTime=" + this.createTime + ", createAgentId=" + this.createAgentId + ", updateUserId=" + this.updateUserId + ", updateTime=" + this.updateTime + ", updateAgentId=" + this.updateAgentId + "]";
    }
}
